home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / amos / amoslist-0195.lzh / AMOSLIST / text0047.txt < prev    next >
Encoding:
Text File  |  1995-02-01  |  1.9 KB  |  48 lines

  1. >1) Can anyone tell me the formula for a parabola?  Or preferably, can
  2. >anyone tell me how to write a curve tool like the one in Deluxe paint?
  3.  
  4.   The standard mathematical formula is y = c(x-h)^2 + k.
  5.  
  6. >2) What I want to do, for example, is pick up a circle of colour 0 from
  7. >a background of colour 1 as a BOB, like:
  8. >       ______
  9. >      |  __  |<--colour 1
  10. >      | /  \ |
  11. >      | \__/<|---colour 0
  12. >      |______|
  13. >
  14. >BUT I would like colour 1 to be transparent and NOT colour 0!  I found a
  15. >machine code procedure called MAKE_MASK on an AmosPro Productivity disk
  16. >and tried to use that in conjunction with NO MASK but without success.
  17.  
  18.   Pick up the MAKE_MASK procedure from the Procedure Library (the library
  19. WWW page is http://www.gate.net/amos/play/software/procedures/Contents.html)
  20. and see if that helps.
  21.  
  22. >3) I presume there's no way to REDIM an array is there?
  23.  
  24.   Nope.
  25.  
  26. >4) Or SET BUFFER within a program?  I want to have a list of fonts but,
  27. >since I don't have a hard drive, I have hardly any.  When I gave the
  28. >program to a friend it said "out of variable space" or something.  Do I
  29. >just whack it up high and hope for the best?  If so, is there a way of
  30. >telling a maximum number of fonts that the buffer would hold?  I don't
  31. >think I can do an interface ActiveList directly from the FONT$() array
  32. >can I??
  33.  
  34.   No, you can't Set Buffer within a program, and you can't use the Font$()
  35. array with the Interface, since Font$() is a function, not an array.
  36.  
  37. >5) Is there a faster version of PLOT and POINT as I'm doing "image
  38. >processing" (sort of..) in the program and it's REALLY slow.  I have
  39. >seen an image processor I think is in Amos (because you can Ami+A it
  40. >into Wbench) and it makes mine look foolish by being so fast - how does
  41. >it do it?
  42.  
  43.   Probably uses the Turbo (Plus) extension.  There's a demo on AmiNet:
  44. /pub/aminet/dev/amos/turbo1.lha and tscene1.lha.
  45.  
  46.   --Andy Church
  47.  
  48.